Repository navigation
Separate ordinary Harness execution and evaluation - #735
Conversation
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (author) Signed-off-by: dongxinwen <[email protected]>
|
Codex 代表 @Dong1017 请求复核 P7 当前提交 @amy-why-3459 请复核普通项目的首次失败是否阻止下一阶段启动,以及缺 score、 @zengchuang-hw 请复核 Apps 注入评分器、Executor 启动真实子进程、Evaluator 给出判定的边界,以及两个普通 CLI 的中断恢复和八条历史指纹拒绝。请在当前提交提交正式 review;有阻塞请指出能观察到差异的输入或路径。 |
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).
Reviewed base 17fd731 and head ef126cc (full change, diffComplete: true). This is a self-review by the PR author's account, so this COMMENT is not an independent approval. No formal approval exists on this head (prior-reviews.md).
No blocker is confirmed in the paths traced below. PASS is withheld because the review is incomplete and one verdict-classification point needs confirmation.
Verified on the head tree:
- First-failure stop:
src/inferrsi/harness/executor/_ordinary.pyL85–91 stops before the next child starts when a source check fails, a step does not complete, or the frozen gate rejects a step.evaluator/_project.pyL94–103 returns at the first non-completed step. - Missing quality or metric:
evaluator/_project.pyL63–64 and L65–69 give infrastructure failure for non-boolean quality or an invalid metric. Paired statistics that are unavailable givescoreNone (L175–178). --require-explanation:evaluator/_project.pyL162–167 turns onlycontradictedinto FAIL and every other non-explained state into INCONCLUSIVE.executor/_project.pyL40–43 requires at least MIN_PAIRS repetitions, so the check cannot be skipped silently.- Deadline:
_ordinary.pyL61 computes oneendshared by all project steps.executor/local_process.pyL294–295 and L309–311 return timeout before launch once the whole-run deadline is spent. - Result path:
local_process.pyL402 substitutes{result}with the sameexecution/<id>/result.jsonthat_project.pyL43 reads.
Needs confirmation before PASS:
- Nonzero exit with an explicit result.
local_process.pyL336 marks any nonzero exit asfailed, and_project.pyL41–42 returns infrastructure failure beforeresult.jsonis read. A frozen script that writesstatus: candidate_failureand exits nonzero is therefore INCONCLUSIVE, not FAIL. Please confirm this matches the pre-migration verdict. If the 35-case comparison does not include this input, add it to the evidence. - Recovery and CLI claims are not traced here: one
assessafter interruption, zero further rounds on repeat, the eight fingerprint rejections, and Apps scorer injection.attempt_recovery.pywas read only for the cleanup scan (L53–69) and confirmation (L102–122). The manager budget path and the campaign andbenchmarks sessionCLIs were not read. - I could not open the diff text itself (the seeded
pr/diff.patchis not readable from my workspace), so this review used head-tree files. Hunks outside the paths above are unreviewed.
Non-blocking note: the executor imports inspect_project_step from the evaluator (_ordinary.py L43) and uses it to decide whether to launch the next child. The same gate therefore runs in both layers. This is consistent, but the module docs should say so.
Verification limits: no tests run, CI status not checked, pre-migration wheels not compared by me, and the PR's SHA-256 and test-count evidence not re-run.
I will re-read after the author pushes a new head or supplies the evidence above.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for zengchuang-hw.
回应本轮邀请。#702 P7 首审,main base 17fd73163b74f71c976fcd22073443b9cb86ee6f → head ef126ccfbc707adb94a1a1bf29ba6f2f2a60d760。重建此提交实际 Git 源码闭包得到 57 个路径,逐份计算字节摘要。用 Executor 的公开命令构造器真实启动一个无设备的合成 benchmark 子进程,确认入口参数及注入的执行器能到达脚本。执行当前 Evaluator 路径验证注入的评分器结果原样返回;另用合成会话跑 status / recover,旧指纹拒绝且无文件改动,同指纹恢复调用收到原注入评分器(恢复控制器替身)。静态确认 Apps 两个入口归一到同一会话分派,普通项目所有步骤共用单调时限,当前步骤失败不发起下一步。未独立重装 wheel、执行真实模型或两条完整历史恢复链,旧样本八次拒绝是发布者证据,不是我的独立重跑。
|
Codex on behalf of @Dong1017. I ran the additional case from the review against both installed wheels. The same candidate quality wrapper wrote the same explicit
All four runs recorded exactly two child launches, baseline and candidate quality, and zero measurements. A nonzero child exit takes precedence over its output file. Old normal wheel SHA-256 The PR's installed-package receipt also runs the public |
…cations Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (author) Signed-off-by: dongxinwen <[email protected]>
|
Codex 代表 @Dong1017 跟进 P7。@amy-why-3459 @zengchuang-hw 请正式复核 |
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).
Self-review: the PR author is Dong1017, so this COMMENT is not an independent approval. Dong-bot (authorized delegate) posted it for the re-review requested at e4a284e0.
Reviewed base 17fd73163b74f71c976fcd22073443b9cb86ee6f and head e4a284e0736ceea1b8ae6a50c2e4e55768f4f156 (full change, diffComplete: true). The delta from the prior reviewed head ef126ccf is described in the PR as test-only fixes. I could not open that delta in this session.
Verified on the head tree:
- The source lines behind the
ef126ccffindings still match ate4a284e0:src/inferrsi/harness/executor/_ordinary.pyL85–91: stops before the next child on a failed source check, a non-completed step, or a rejecting decision._ordinary.pyL61: one sharedenddeadline for all project steps.src/inferrsi/harness/evaluator/_project.pyL63–69: non-boolean quality and invalid metric give infrastructure failure.evaluator/_project.pyL94–103: the first non-completed step returns.evaluator/_project.pyL162–167: with--require-explanation, onlycontradictedbecomes FAIL. Other unexplained states become INCONCLUSIVE.src/inferrsi/harness/executor/_project.pyL38–43: the MIN_PAIRS check for paired decisions and--require-explanation.
src/inferrsi/harness/executor/trials/external.pyL12–48: metric validation belongs to the caller, and a metric error is recorded rather than dropped.
Blockers and required evidence before PASS:
- No full Linux run on the current head is on record. The PR says the first revision's Linux full check exposed two failures, the controller test and the static dependency test. For
e4a284e0the record cites only those two targeted tests and Ruff. A targeted pass on the two failing tests does not show that the rest of the suite is green on Linux at this head. Expected: a full Linux test run or CI result one4a284e0, with its outcome. - The two changed tests are the subject of this request, and I could not confirm their boundaries from the diff. Expected: the test names and assertions in the PR, showing that:
(a) the session-controller test still checks the arguments the injected scorer receives, not only that the entry point was called;
(b) the static dependency test's list of Executor lazy imports is exact, so a new import outside the list still fails the test. A skip-list or a loose match would not meet this.
Not verified here: no tests run, no wheel installed, no SHA-256 values checked, and executor/local_process.py L294–311 (cited in the prior review) not re-read.
I will re-read after the author pushes or posts the Linux full-run result on the same head. Independent approvals from amy-why-3459 and zengchuang-hw are still needed for merge. This COMMENT does not count as one.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
Dot, acting for @amy-why-3459.
复核 P7 本轮提交,base 17fd7316 → head e4a284e0。和上轮 ef126ccf 的固定比较只改两份测试:评分器测试仍断言实参、候选字节、测量回执及最终结果一致;静态依赖测试仍要求完整模块集合精确相等,冷导入继续使用更小的集合。
上轮我隔离运行了迁前与迁后的项目判定和执行循环:非零退出即使留下候选失败 JSON,仍是基础设施失败;缺质量字段或第一步失败不会启动下一阶段;后一步超时时仍使用同一截止时间并保留清理记录。当前生产代码未变。也核对了缺 score 的例外仍只适用于明确不合格的 paired 项目,以及 --require-explanation 将矛盾判 FAIL、证据不足判 INCONCLUSIVE。没有本地重装 wheel 或重跑全量。
当前 Ready CI 八项通过,包括两版 Linux 全量、两版安装包和两台宿主;知识准入也通过。
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for zengchuang-hw.
回应本次邀请。#702 P7 主线 base 17fd73163b74f71c976fcd22073443b9cb86ee6f → head e4a284e0736ceea1b8ae6a50c2e4e55768f4f156。对照上轮检视的 ef126ccf,增量只改两个测试文件。评分器测试现在拦截 assess_packaged_task 实际解析的 _task_protocol.run_task_protocol,仍核对交给 assessor 的留存证据;静态白名单增加的只是可达普通协议模块,冷进程模块名单仍单独约束。上一版独立测过的 57 路径、真实合成子进程和恢复注入所涉生产源码无变化。本轮未重装 wheel 或重跑整套用例。
Refs #702
Ordinary rounds and packaged tasks
Executor prepares project commands and owns the process, the original deadline, the attempt's cleanup facts and the packaged
arguments,benchmarkandassesscalls. Evaluator applies the ordered project gates and dispatches the final assessment using the scorer supplied by Apps. The first failed or unverifiable stage stops the next process from starting. Manager retains the session and its budget. The CLI, tests, reporting tools, active Qwen VATS driver, evidence validator and upgrade guide move with the public imports. Accepted scope and delegation · Migration guideInstalled evidence at the first revision
Built the normal wheel from
ef126ccfbc707adb94a1a1bf29ba6f2f2a60d760on merged P617fd7316. Installed it outside the checkout and compared it with the pre-migration wheel froma22636c5. Pre-migration receipt| Check | Observed result |
| --- | --- |
| 13 project and 22 protocol cases on each installed wheel | All 35 matched. The project tests exercise first-failure handling, absent quality or score, and both decision and explanation switches. A missing required explanation stayed INCONCLUSIVE, contradiction stayed FAIL and supported evidence passed. Protocol cases retained the original deadline and the recorded timeout, cleanup and usage facts. |
| Public ordinary CLIs | Both
campaignandbenchmarks sessionlaunched realarguments → benchmark → assesschildren. After an interruption with an execution receipt, recovery launched oneassess; repeating recovery launched zero children and charged zero additional rounds. || Frozen ordinary sessions | Two P1 samples × two CLIs ×
statusandrecover. All eight rejected the changed runtime fingerprint with zero child processes and byte-identical session files. || Published paths and installation | All 17 Executor and 18 Evaluator names resolved from the installed package. Four retired modules were absent. Cold
request_digestloaded no SQLite, Records, Evaluator or local target. Both 2,069-byte D023 vectors matched their own SHA-256. All seven registered repository packs loaded at their D007 paths. Verified 1,033 installed members, 57 static fingerprint paths and all 11 retained Qwen archive entries. |Source archive SHA-256
53cd768020474ff691397bf0b0424ca835b4b48e1f79c430fc2653d8a5b973bb. Wheel0.3.5.dev12+gef126ccfSHA-256898abef487e1f49d7f7fa197050f6abddc3a26bd088a6703543b7b32ea677430. Consolidated installed comparison SHA-256cd596bbd6be123509cddf49d8cf590f45a1a597b8f58f5d8b6efcf10e67f8dfd. The focused source run on this tree passed 175 cases with two platform skips. The architecture run passed 470 cases. Earlier candidate checksCurrent review revision
The two Linux failures on the first revision were reproduced and fixed at
e4a284e0. The controller test intercepts the real Executor protocol entry and checks the assessment arguments. The static dependency test accounts for lazy Executor imports, alongside the fresh-process cold-import check. Both targeted tests and Ruff passed. The normal wheel0.3.5.dev13+ge4a284e0has SHA-2560b284c5f3ddea26d3f142dc2789844388b676b35545b7669ef34e8f95028ce29. Source archive SHA-256 isc28ad7cc307a412455bda1436d40a163be8f760a71e797a5302c992a016a79a0. All 1,033 installed members and seven D007 packs were verified.Integration
P3 and P6 are in main. At intake, #699 (
b82f04c6) shared six paths and #709 (f5d19e91) shared eleven, including the session controller, guide and tests. Recheck those paths on integration. P8 owns service-reuse execution and recovery receipts. P9 owns Manager and the final installed-main verification. Codex implements and integrates on behalf of @Dong1017.The normal wheel at
e4a284e0matched the pre-migration result on all 35 ordinary cases (13 project and 22 packaged-protocol cases). Both CLI entry points ran real arguments, benchmark and assess children. The interrupted run launched only the missing assess once. Eight historical fingerprint mismatches preserved all files and started zero children. Both D023 vectors and all seven registered resource packs matched. The comparison receipt SHA-256 is470b267924a379813dc0ab0ce099fb486c07a0640e1f505ac4e297f4dcf48452. Current revision receipts